﻿using System.ComponentModel.DataAnnotations;
using System.Data.Entity.ModelConfiguration;
using Planisoft.Entities;

namespace Planisoft.DAO.Mapping
{
    public class MesMap : EntityTypeConfiguration<Mes>
    {
         public MesMap(){
             // Primary Key
             this.HasKey(t => t.IdMes);

             // Properties
             this.ToTable("Mes");
             this.Property(t => t.IdMes).HasColumnName("IdMes");
          }
        
    }
}
